
<div class="layui-container">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>{{fund_document["symbol"]}}</legend>
    </fieldset>

    <!--    基础信息-->
    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md8">
            {{fund_document["description"]}}
            {{fund_document["manage_company"]}}
            {{fund_document["invest_type1"]}}
            {{fund_document["invest_type2"]}}
        </div>
    </div>

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>过往绩效</legend>
    </fieldset>
    {% include "price_chart.html" %}

    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>持仓分析</legend>
    </fieldset>

    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md8">
            <table class="layui-table" lay-even="" lay-skin="nob">
            <colgroup>
                <col width="100">
                <col width="100">
                <col width="100">
                <col width="100">
                <col width="100">
                <col>
            </colgroup>
              <thead>
                <tr>
                    <th>证券代码</th>
                    <th>证券名称</th>
                    <th>持有数量</th>
                    <th>证券价值</th>
                    <th>持仓比例</th>
                    <th>持仓变化</th>
                </tr>
              </thead>
              <tbody>

              {% for document in position_document %}
                <tr>
                    <td>{{document["symbol"]}}</td>
                    <td>{{document["description"]}}</td>
                    <td>{{document["qty"]}}</td>
                    <td>{{document["equity"]}}</td>
                    <td>{{document["ratio"]}}</td>
                    <td></td>
                </tr>
              {% end %}

              </tbody>
            </table>
        </div>
    </div>


</div>